package com.freshmarket.freshmarket.controller.form;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

@Data
@Validated
public class InsertProductBatchForm {
    @Min(0)
    int productId;
    @Min(0)
    int productBatchNum;
    @NotEmpty
    String productBatchSource;
}
